]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
13 years agopopupMenu: Don't slide menus when we're changing them
Jasper St. Pierre [Mon, 10 Dec 2012 08:55:14 +0000 (03:55 -0500)]
popupMenu: Don't slide menus when we're changing them

As calling close() will drop the grab, we were inadverdently
re-closing menus, causing them to re-animate with a full animation.

https://bugzilla.gnome.org/show_bug.cgi?id=689954

13 years agopopupMenu: Display the proper animations for popup menus
Jasper St. Pierre [Mon, 10 Dec 2012 08:47:32 +0000 (03:47 -0500)]
popupMenu: Display the proper animations for popup menus

BoxPointer's API changed to take a BoxPointer.PopupAnimation
enumeration value, but the code was accidentally replaced with
older code when porting the PopupMenuManager code to GrabHelper.

https://bugzilla.gnome.org/show_bug.cgi?id=689954

13 years agopopupMenu: Complete the dummy fake menu
Jasper St. Pierre [Mon, 10 Dec 2012 08:42:53 +0000 (03:42 -0500)]
popupMenu: Complete the dummy fake menu

"toggle" is used when clicking on the source actor. As we don't
actually have a menu, we don't want to actually take any grabs
through the menu system, so make it a no-op rather than have it
toggle the menu state.

https://bugzilla.gnome.org/show_bug.cgi?id=689954

13 years agopanel: Remove a dead check
Jasper St. Pierre [Mon, 10 Dec 2012 08:40:30 +0000 (03:40 -0500)]
panel: Remove a dead check

With the dummy menu item now in place, we will always have a menu.

https://bugzilla.gnome.org/show_bug.cgi?id=689954

13 years agoAssamese translation updated
Nilamdyuti Goswami [Mon, 10 Dec 2012 12:53:50 +0000 (18:23 +0530)]
Assamese translation updated

13 years agomessageTray: Don't add ourselves more than once to CtrlAltTabManager
Rui Matos [Fri, 7 Dec 2012 11:09:42 +0000 (12:09 +0100)]
messageTray: Don't add ourselves more than once to CtrlAltTabManager

This way _sessionUpdated() can be called multiple times without side
effects.

https://bugzilla.gnome.org/show_bug.cgi?id=689959

13 years agognome-shell-jhbuild: Allow passing args to gnome-shell
Jasper St. Pierre [Thu, 6 Dec 2012 15:58:53 +0000 (10:58 -0500)]
gnome-shell-jhbuild: Allow passing args to gnome-shell

$ ./gnome-shell -- --list-modes

https://bugzilla.gnome.org/show_bug.cgi?id=689778

13 years agoUpdated POTFILES.in
Piotr Drąg [Sun, 9 Dec 2012 18:13:01 +0000 (19:13 +0100)]
Updated POTFILES.in

Yes, it has to be there. Run:

git submodule init && git submodule update

to make it work.

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sun, 9 Dec 2012 13:02:54 +0000 (14:02 +0100)]
Updated Norwegian bokmål translation

13 years agoUpdate Arabic translation
Khaled Hosny [Sun, 9 Dec 2012 02:53:24 +0000 (04:53 +0200)]
Update Arabic translation

13 years agoDrop removed file
Khaled Hosny [Sun, 9 Dec 2012 02:46:09 +0000 (04:46 +0200)]
Drop removed file

13 years agogvc: Update git submodule
Colin Walters [Sat, 8 Dec 2012 18:38:43 +0000 (13:38 -0500)]
gvc: Update git submodule

This fixes the build.

13 years agoVolumeMenu: show headphone icon when headphones are plugged in
Giovanni Campagna [Thu, 18 Oct 2012 17:42:17 +0000 (19:42 +0200)]
VolumeMenu: show headphone icon when headphones are plugged in

This will show the user where sound will come out, and should
help if he forgets them plugged, or forgets to plug them before
playing music.

https://bugzilla.gnome.org/show_bug.cgi?id=675902

13 years agoUse libgnome-volume-control from a submodule
Giovanni Campagna [Fri, 19 Oct 2012 17:02:41 +0000 (19:02 +0200)]
Use libgnome-volume-control from a submodule

To be shared with gnome-control-center and gnome-settings-daemon

13 years agofileUtils: correctly determine file type for symbolic links
Tim Lunn [Sat, 8 Dec 2012 00:42:09 +0000 (11:42 +1100)]
fileUtils: correctly determine file type for symbolic links

Extensions in a folder that is a symbolic link do not get loaded,
since the returned file type is unknown.

https://bugzilla.gnome.org/show_bug.cgi?id=689868

13 years agopopupMenu: Introduce PopupDummyMenu
Jasper St. Pierre [Tue, 4 Dec 2012 19:52:34 +0000 (14:52 -0500)]
popupMenu: Introduce PopupDummyMenu

This is designed for things like the activities button that sort of
need a menu to make navigation work, but not really have it do anything.

https://bugzilla.gnome.org/show_bug.cgi?id=689109

13 years agopopupMenu: Port to GrabHelper
Jasper St. Pierre [Thu, 1 Mar 2012 00:09:41 +0000 (19:09 -0500)]
popupMenu: Port to GrabHelper

https://bugzilla.gnome.org/show_bug.cgi?id=689109

13 years agograbHelper: Fix up event handling for ignoring releases
Jasper St. Pierre [Tue, 4 Dec 2012 20:11:06 +0000 (15:11 -0500)]
grabHelper: Fix up event handling for ignoring releases

We need to return 'true' to signify that we handled the event.

https://bugzilla.gnome.org/show_bug.cgi?id=689109

13 years agograbHelper: Drop to the actor clicked on
Jasper St. Pierre [Mon, 26 Nov 2012 19:55:03 +0000 (14:55 -0500)]
grabHelper: Drop to the actor clicked on

This is necessary for child popups in menus, e.g. while in a combo box,
clicking outside of the user menu should drop the entire menu, but
clicking on the user menu itself should only drop the combo box.

https://bugzilla.gnome.org/show_bug.cgi?id=689109

13 years agograbHelper: Treat the current grabbed actor as a grabbed actor
Jasper St. Pierre [Mon, 26 Nov 2012 19:47:59 +0000 (14:47 -0500)]
grabHelper: Treat the current grabbed actor as a grabbed actor

This should be obvious, but I guess it wasn't necessary for the
message tray case.

https://bugzilla.gnome.org/show_bug.cgi?id=689109

13 years agograbHelper: Use captured-event for escape ungrabs
Jasper St. Pierre [Mon, 26 Nov 2012 19:47:30 +0000 (14:47 -0500)]
grabHelper: Use captured-event for escape ungrabs

I have no idea why we used 'event' rather than 'captured-event' before.
'event' has some really strange quirks that came up when porting PopupMenu
to the GrabHelper

https://bugzilla.gnome.org/show_bug.cgi?id=689109

13 years agoctrlAltTab: Remove leftover
Jasper St. Pierre [Fri, 7 Dec 2012 18:02:47 +0000 (13:02 -0500)]
ctrlAltTab: Remove leftover

Accidentally forgot to remove this before pushing.

13 years agoUpdated Kannada Translations
Shankar Prasad [Fri, 7 Dec 2012 10:42:16 +0000 (16:12 +0530)]
Updated Kannada Translations

13 years agoUpdated Kannada Translations
Shankar Prasad [Fri, 7 Dec 2012 10:07:10 +0000 (15:37 +0530)]
Updated Kannada Translations

13 years agoscreen-shield: disconnect from title-changed on destroy
Cosimo Cecchi [Thu, 6 Dec 2012 23:24:54 +0000 (18:24 -0500)]
screen-shield: disconnect from title-changed on destroy

https://bugzilla.gnome.org/show_bug.cgi?id=689820

13 years agoSt: recompute all theme nodes when the icon theme changes
Giovanni Campagna [Fri, 30 Nov 2012 14:48:37 +0000 (15:48 +0100)]
St: recompute all theme nodes when the icon theme changes

StWidget considers "same theme node" as an indication that the style
did not change, and skips emitting style-changed in that case. This
means that icon theme changes are not picked up by StIcon.

https://bugzilla.gnome.org/show_bug.cgi?id=689353

13 years agoUpdated POTFILES.in
Piotr Drąg [Thu, 6 Dec 2012 21:37:41 +0000 (22:37 +0100)]
Updated POTFILES.in

13 years agost: fix rendering of corners in the box-shadow
Lionel Landwerlin [Thu, 6 Dec 2012 18:05:14 +0000 (18:05 +0000)]
st: fix rendering of corners in the box-shadow

https://bugzilla.gnome.org/show_bug.cgi?id=689789

13 years agofileUtils: Don't fail if we can't find an error
Jasper St. Pierre [Thu, 6 Dec 2012 00:28:50 +0000 (19:28 -0500)]
fileUtils: Don't fail if we can't find an error

We need to make sure that we decrement the number of dirs that
we've loaded, and call the callback on error.

https://bugzilla.gnome.org/show_bug.cgi?id=689749

13 years agograbHelper: Use focus_default_window
Jasper St. Pierre [Tue, 4 Dec 2012 19:32:15 +0000 (14:32 -0500)]
grabHelper: Use focus_default_window

This prevents us from having to track the previously focused window.

https://bugzilla.gnome.org/show_bug.cgi?id=689653

13 years agoctrlAltTab: Add a "Windows" option to Ctrl+Alt+Tab
Jasper St. Pierre [Tue, 4 Dec 2012 18:46:47 +0000 (13:46 -0500)]
ctrlAltTab: Add a "Windows" option to Ctrl+Alt+Tab

This lets accessibility users easily access the desktop after focusing the panel.

https://bugzilla.gnome.org/show_bug.cgi?id=689653

13 years agoctrlAltTab: Only add to the focus manager if we have an StWidget.
Jasper St. Pierre [Tue, 4 Dec 2012 19:02:15 +0000 (14:02 -0500)]
ctrlAltTab: Only add to the focus manager if we have an StWidget.

https://bugzilla.gnome.org/show_bug.cgi?id=689653

13 years agoctrlAltTab: Remove some dead code for a "window" parameter
Jasper St. Pierre [Tue, 4 Dec 2012 18:48:08 +0000 (13:48 -0500)]
ctrlAltTab: Remove some dead code for a "window" parameter

This isn't set on any item, so we can safely remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=689653

13 years agoswitcherPopup: Add a timestamp argument to _finish()
Jasper St. Pierre [Tue, 4 Dec 2012 18:45:52 +0000 (13:45 -0500)]
switcherPopup: Add a timestamp argument to _finish()

And use it elsewhere.

https://bugzilla.gnome.org/show_bug.cgi?id=689653

13 years agoapp-display: use a GAppInfo for the settings provider
Cosimo Cecchi [Mon, 26 Nov 2012 22:01:44 +0000 (17:01 -0500)]
app-display: use a GAppInfo for the settings provider

this._gnomecc is currently unused; we actually need a GAppInfo for this
provider if we want to display an icon next to it (see future commits),
so just turn it into one.
We might move this to an external provider altogether in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=689735

13 years agoremote-search: implement new ActivateResult() method
Cosimo Cecchi [Wed, 5 Dec 2012 16:48:22 +0000 (11:48 -0500)]
remote-search: implement new ActivateResult() method

This allows us to fix the shortcomings of the original ActivateResult()
method. In particular:
- allow to pass the search terms to the provider
- allow to pass a user interaction timestamp

https://bugzilla.gnome.org/show_bug.cgi?id=689735

13 years agosearch: remove additional params from activateResult() call
Cosimo Cecchi [Wed, 5 Dec 2012 15:05:48 +0000 (10:05 -0500)]
search: remove additional params from activateResult() call

The only case when we're interested in using those parameters nowadays
is for DnD, which is handled in a separate method already.
Since we're not going to support DnD for non-app search results anyway,
drop the params from all the activateResults() calls; this will be
useful later since we're going to add another parameter to it.

https://bugzilla.gnome.org/show_bug.cgi?id=689735

13 years agoremote-search: implement LaunchSearch() DBus method
Tanner Doshier [Mon, 26 Nov 2012 21:55:25 +0000 (16:55 -0500)]
remote-search: implement LaunchSearch() DBus method

This will be used to launch a search in the application itself.

https://bugzilla.gnome.org/show_bug.cgi?id=689735

13 years agoremote-search: first implementation of SearchProvider2
Cosimo Cecchi [Wed, 5 Dec 2012 22:20:22 +0000 (17:20 -0500)]
remote-search: first implementation of SearchProvider2

We read the implemented version from the search provider's keyfile, and
then create a RemoteSearchProvider object from the right class
accordingly.
Wire ActivateResult() to the new method (without actually passing the
new parameters along) - an actual implementation will be added in a
future commit.

https://bugzilla.gnome.org/show_bug.cgi?id=689735

13 years agoremote-search: add an org.gnome.ShellSearchProvider2 dbus interface
Cosimo Cecchi [Wed, 5 Dec 2012 17:59:24 +0000 (12:59 -0500)]
remote-search: add an org.gnome.ShellSearchProvider2 dbus interface

We are going to change the interface, so add a new version of it.
Providers will need to opt-in to the new API.
A summary of the differences compared to the previous API:
- ActivateResult() now also takes the search terms and a timestamp as
  parameters
- a new LaunchSearch() method is added

https://bugzilla.gnome.org/show_bug.cgi?id=689735

13 years agoremote-search: properly document the DBus interface
Cosimo Cecchi [Wed, 5 Dec 2012 19:37:57 +0000 (14:37 -0500)]
remote-search: properly document the DBus interface

Use real annotations in the XML, and use gdbus-codegen to extract those
into docbook. We then include it in the Shell's gtk-doc.

https://bugzilla.gnome.org/show_bug.cgi?id=689735

13 years agobuild: Fix distcheck
Florian Müllner [Wed, 5 Dec 2012 22:32:05 +0000 (23:32 +0100)]
build: Fix distcheck

13 years agosessionMode: Add support for 'parentMode' property
Florian Müllner [Thu, 29 Nov 2012 19:42:38 +0000 (20:42 +0100)]
sessionMode: Add support for 'parentMode' property

Defining a mode that differs significantly from the default one
can get rather cumbersome. For convenience, allow mode definitions
to inherit from an existing mode.

https://bugzilla.gnome.org/show_bug.cgi?id=689308

13 years agoextensionSystem: Add support for mode-specific extensions
Florian Müllner [Thu, 29 Nov 2012 15:09:21 +0000 (16:09 +0100)]
extensionSystem: Add support for mode-specific extensions

As currently envisioned, the fallback replacement in 3.8 should be
a separate session at the login screen. As we will use extensions
to implement this mode, we need a way to specify extensions per
session rather than per user, so add a session-mode property for
extensions that should be loaded in addition to the user-defined
ones.

https://bugzilla.gnome.org/show_bug.cgi?id=689305

13 years agosessionMode: Make loading of external modes asynchronous
Florian Müllner [Thu, 29 Nov 2012 17:20:43 +0000 (18:20 +0100)]
sessionMode: Make loading of external modes asynchronous

Blocking IO on startup is bad m'kay ...

https://bugzilla.gnome.org/show_bug.cgi?id=689304

13 years agoextensionUtils: Load extensions asynchronously
Florian Müllner [Fri, 30 Nov 2012 17:06:11 +0000 (18:06 +0100)]
extensionUtils: Load extensions asynchronously

Use the new collectFromDatadirsAsync() function for extension
loading as well.

https://bugzilla.gnome.org/show_bug.cgi?id=689304

13 years agoremoteSearch: Factor out collectFromDatadirsAsync() utility function
Florian Müllner [Fri, 30 Nov 2012 15:36:12 +0000 (16:36 +0100)]
remoteSearch: Factor out collectFromDatadirsAsync() utility function

Processing files from a subdirectory of various share/gnome-shell
directories asynchronously is a common enough pattern to share
the common code.

https://bugzilla.gnome.org/show_bug.cgi?id=689304

13 years agosessionMode: Add support for external mode definitions
Florian Müllner [Wed, 28 Nov 2012 20:14:21 +0000 (21:14 +0100)]
sessionMode: Add support for external mode definitions

Currently adding a new session mode requires patching the sources.
As defining custom modes can be desirable in some circumstances
(for instance for administrators of kiosk setups), load additional
modes from JSON files.

https://bugzilla.gnome.org/show_bug.cgi?id=689304

13 years agoaltTab: Re-implement 'switch-windows' keybinding
Florian Müllner [Fri, 23 Nov 2012 02:20:10 +0000 (03:20 +0100)]
altTab: Re-implement 'switch-windows' keybinding

Now that we use the new 'switch-applications' keybinding for the
application-based alt-tab popup, we can use the 'switch-windows'
keybinding for a more traditional switcher.

Based heavily on the alternate-tab extension from Giovanni Campagna.

https://bugzilla.gnome.org/show_bug.cgi?id=688913

13 years agoaltTab: Factor out thumbnail creation
Florian Müllner [Tue, 4 Dec 2012 15:26:00 +0000 (16:26 +0100)]
altTab: Factor out thumbnail creation

https://bugzilla.gnome.org/show_bug.cgi?id=688913

13 years agoaltTab: Rename AltTabPopup to AppSwitcherPopup
Florian Müllner [Mon, 3 Dec 2012 15:31:50 +0000 (16:31 +0100)]
altTab: Rename AltTabPopup to AppSwitcherPopup

We will add support for a window-based popup in addition to the
current application-based one, so use a more descriptive name.

https://bugzilla.gnome.org/show_bug.cgi?id=688913

13 years agoaltTab: Use 'switch-applications' for app switcher
Florian Müllner [Fri, 23 Nov 2012 00:18:06 +0000 (01:18 +0100)]
altTab: Use 'switch-applications' for app switcher

The Shell's alt-tab popup is application-based, so using the
'switch-windows' keybinding for it never really made sense.
Use the newly added 'switch-applications' keybinding instead.

https://bugzilla.gnome.org/show_bug.cgi?id=688913

13 years agognome-shell.doap: belatedly remove me as a maintainer
Dan Winship [Wed, 5 Dec 2012 12:48:55 +0000 (07:48 -0500)]
gnome-shell.doap: belatedly remove me as a maintainer

13 years agoupdate Punjabi Translation for master
A S Alam [Wed, 5 Dec 2012 02:10:56 +0000 (07:40 +0530)]
update Punjabi Translation for master

13 years agoswitcherPopup: Add missing Meta declaration
Jasper St. Pierre [Tue, 4 Dec 2012 18:15:18 +0000 (13:15 -0500)]
switcherPopup: Add missing Meta declaration

This is used in the edge case if we fail a pointer grab.

13 years agoAssamese translation updated
Nilamdyuti Goswami [Tue, 4 Dec 2012 10:25:02 +0000 (15:55 +0530)]
Assamese translation updated

13 years agoAppSwitcher: Remove a lost timeout on destroy
Rui Matos [Sat, 1 Dec 2012 19:40:13 +0000 (20:40 +0100)]
AppSwitcher: Remove a lost timeout on destroy

Doesn't look harmful but there's no point in running this code after
we're destroyed.

https://bugzilla.gnome.org/show_bug.cgi?id=689528

13 years agowindowManager: Make use of the switch-panels-backward keybinding
Rui Matos [Mon, 3 Dec 2012 10:07:28 +0000 (11:07 +0100)]
windowManager: Make use of the switch-panels-backward keybinding

We have it in the schema so there's no reason for it not to work.

https://bugzilla.gnome.org/show_bug.cgi?id=689528

13 years agoswitcherPopup: Factor out altTab and ctrlAltTab's common code
Rui Matos [Fri, 30 Nov 2012 15:16:48 +0000 (16:16 +0100)]
switcherPopup: Factor out altTab and ctrlAltTab's common code

https://bugzilla.gnome.org/show_bug.cgi?id=689528

13 years agopanel: Update the hot corner when the panel box allocation changes
Jasper St. Pierre [Mon, 3 Dec 2012 20:56:18 +0000 (15:56 -0500)]
panel: Update the hot corner when the panel box allocation changes

This fixes the missing hotcorner in the overview.

https://bugzilla.gnome.org/show_bug.cgi?id=689537

13 years agolayout: Use translation_y for panel animation
Jasper St. Pierre [Mon, 3 Dec 2012 20:45:27 +0000 (15:45 -0500)]
layout: Use translation_y for panel animation

The anchor point is deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=689537

13 years agopanel: Don't create a menu for the ActivitiesButton
Jasper St. Pierre [Mon, 3 Dec 2012 19:32:06 +0000 (14:32 -0500)]
panel: Don't create a menu for the ActivitiesButton

A "dontCreateMenu" item was created for the lock screen; we should
just use that instead of having a hacked up menu.

https://bugzilla.gnome.org/show_bug.cgi?id=689537

13 years agomessageTray: Remove an unused instance variable
Jasper St. Pierre [Mon, 26 Nov 2012 01:32:54 +0000 (20:32 -0500)]
messageTray: Remove an unused instance variable

13 years agost-private: Don't round-trip through a font-string
Jasper St. Pierre [Mon, 3 Dec 2012 19:06:50 +0000 (14:06 -0500)]
st-private: Don't round-trip through a font-string

ClutterText can support a PangoFontDescription directly.

https://bugzilla.gnome.org/show_bug.cgi?id=689568

13 years agoworkspacesView: Restore activation of (empty) workspaces
Florian Müllner [Sat, 1 Dec 2012 00:37:28 +0000 (01:37 +0100)]
workspacesView: Restore activation of (empty) workspaces

Clicking empty workspaces to leave the overview was broken by
commit 830e701d13, restore the previous behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=689552

13 years agoNetworkMenu: don't notify for failed connections if cancelled by the user
Giovanni Campagna [Tue, 2 Oct 2012 19:02:59 +0000 (21:02 +0200)]
NetworkMenu: don't notify for failed connections if cancelled by the user

If the user cancels the secret dialog, the NM will report the connection
failure, but we should not notify it as it is a user-initiated action.

https://bugzilla.gnome.org/show_bug.cgi?id=684823

13 years agoiconGrid: Handle preferred height requests for infinite widths
Rui Matos [Sun, 1 Jul 2012 16:38:28 +0000 (18:38 +0200)]
iconGrid: Handle preferred height requests for infinite widths

Request enough height to fit all children in a single line instead of
requesting 0.

https://bugzilla.gnome.org/show_bug.cgi?id=679168

13 years agost-private: Fix style
Jasper St. Pierre [Mon, 3 Dec 2012 01:11:36 +0000 (20:11 -0500)]
st-private: Fix style

13 years agost-private: Don't create attr lists if we don't need them
Jasper St. Pierre [Sat, 1 Dec 2012 01:27:27 +0000 (20:27 -0500)]
st-private: Don't create attr lists if we don't need them

Decorations are fairly uncommon in gnome-shell, so it's
worthwhile to avoid effort creating empty attr lists. This
can also help prevent a relayout.

https://bugzilla.gnome.org/show_bug.cgi?id=689400

13 years agoMessageTray, ScreenShield: adjust missed message counter
Carlos Soriano Sánchez [Wed, 28 Nov 2012 19:51:56 +0000 (20:51 +0100)]
MessageTray, ScreenShield: adjust missed message counter

Fix counter size and position and add some padding in
ScreenShield notifications to not obscure the items below
the missed message counter.

https://bugzilla.gnome.org/show_bug.cgi?id=686472

13 years agoMessageTray: clean-up chat timestamps
Carlos Soriano Sánchez [Thu, 15 Nov 2012 18:31:16 +0000 (19:31 +0100)]
MessageTray: clean-up chat timestamps

Change the text for design reasons and correct some English issues
in the timestamp string.

https://bugzilla.gnome.org/show_bug.cgi?id=680989

13 years agoAdd a setting for the default state of 'Remember Password'
Ron Yorston [Thu, 15 Nov 2012 20:57:15 +0000 (20:57 +0000)]
Add a setting for the default state of 'Remember Password'

https://bugzilla.gnome.org/show_bug.cgi?id=688039

13 years agoUpdated Tamil translation
Dr.T.Vasudevan [Sun, 2 Dec 2012 11:40:13 +0000 (17:10 +0530)]
Updated Tamil translation

13 years agoAdded Norwegian bokmål translation
Kjartan Maraas [Sat, 1 Dec 2012 10:33:46 +0000 (11:33 +0100)]
Added Norwegian bokmål translation

13 years agoshell-app-usage: Fix several problems in xml parsing
Matthias Clasen [Fri, 30 Nov 2012 04:39:11 +0000 (23:39 -0500)]
shell-app-usage: Fix several problems in xml parsing

Coverity rightly complained about the context < 0 comparison.
In addition, context was shadowing the parameter of the same
name, and the loops over the attributes were unnecessarily
running all the way.

https://bugzilla.gnome.org/show_bug.cgi?id=689325

13 years agooverview: Remove custom swipe scrolling implementation
Jasper St. Pierre [Tue, 27 Mar 2012 16:07:11 +0000 (13:07 -0300)]
overview: Remove custom swipe scrolling implementation

https://bugzilla.gnome.org/show_bug.cgi?id=689062

13 years agoworkspacesView: Don't use the overview swipe scrolling system
Jasper St. Pierre [Mon, 26 Nov 2012 04:40:48 +0000 (23:40 -0500)]
workspacesView: Don't use the overview swipe scrolling system

Switch to a ClutterPanAction instead too.

https://bugzilla.gnome.org/show_bug.cgi?id=689062

13 years agoworkspacesView: Clean up scroll code a bit
Jasper St. Pierre [Mon, 26 Nov 2012 04:54:11 +0000 (23:54 -0500)]
workspacesView: Clean up scroll code a bit

There's no code path that results in us not animating.

https://bugzilla.gnome.org/show_bug.cgi?id=689062

13 years agosearchDisplay, appDisplay: Use ClutterPanAction for re-swipe scrolling
Jasper St. Pierre [Mon, 26 Nov 2012 04:33:44 +0000 (23:33 -0500)]
searchDisplay, appDisplay: Use ClutterPanAction for re-swipe scrolling

The sooner we can kill off the custom overview swipe scroll code, the
better.

https://bugzilla.gnome.org/show_bug.cgi?id=689062

13 years agoaltTab: Minor code cleanup
Florian Müllner [Fri, 23 Nov 2012 03:39:19 +0000 (04:39 +0100)]
altTab: Minor code cleanup

https://bugzilla.gnome.org/show_bug.cgi?id=688913

13 years agoMessageTray: don't close the tray when interacting with the right click menu
Giovanni Campagna [Fri, 30 Nov 2012 15:14:50 +0000 (16:14 +0100)]
MessageTray: don't close the tray when interacting with the right click menu

If the chosen action is not open, the tray should not be closed, to
let the user further interact with it (for example to mute or remove
more sources)

https://bugzilla.gnome.org/show_bug.cgi?id=689296

13 years agoMessageTray: fix notification height expansion
Giovanni Campagna [Fri, 30 Nov 2012 15:05:38 +0000 (16:05 +0100)]
MessageTray: fix notification height expansion

MessageTray._tween removes all tweens now, so it removes also
those setting the height to expanded for critical notifications.

This is a regression from 1a27d7dfc02c06bd0ccf4258a9108207b8832ce4

https://bugzilla.gnome.org/show_bug.cgi?id=689295

13 years agodbus: Add a read-only org.gnome.Shell.Mode property
Debarshi Ray [Thu, 29 Nov 2012 18:17:51 +0000 (19:17 +0100)]
dbus: Add a read-only org.gnome.Shell.Mode property

This is meant to expose the global.session_mode to applications such
as the gnome-tweak-tool, which would need it to differentiate between
the vanilla GNOME Shell mode and the fallback replacement mode.

https://bugzilla.gnome.org/show_bug.cgi?id=689300

13 years agoappDisplay: don't increment counter if we didn't add a category
Cosimo Cecchi [Fri, 30 Nov 2012 00:21:41 +0000 (19:21 -0500)]
appDisplay: don't increment counter if we didn't add a category

Or we'll later try to jump to the wrong category when clicking on it.

13 years agoscroll-bar: Remove jitter on the scroll bar when moving the mouse
Jasper St. Pierre [Wed, 28 Nov 2012 20:43:14 +0000 (15:43 -0500)]
scroll-bar: Remove jitter on the scroll bar when moving the mouse

This was due to incorrect pixel clamping, which bounced the height
of the actor between values. Just remove pixel clamping, as Clutter
will correctly do it for us.

https://bugzilla.gnome.org/show_bug.cgi?id=689243

13 years agoscroll-view-fade: Fade gradients when near edges
Jasper St. Pierre [Wed, 28 Nov 2012 23:30:20 +0000 (18:30 -0500)]
scroll-view-fade: Fade gradients when near edges

Rather than sharply transitioning to gradients, fade them out when
near the edge of the scroll view.

https://bugzilla.gnome.org/show_bug.cgi?id=689249

13 years agoscroll-view-fade: Only calculate the ratios if they're needed
Jasper St. Pierre [Thu, 29 Nov 2012 00:56:02 +0000 (19:56 -0500)]
scroll-view-fade: Only calculate the ratios if they're needed

This prevents some calculations being done for poor drivers with
bad optimizers.

https://bugzilla.gnome.org/show_bug.cgi?id=689249

13 years agoscroll-view-fade: Do the offset math in the shader
Jasper St. Pierre [Wed, 28 Nov 2012 21:51:42 +0000 (16:51 -0500)]
scroll-view-fade: Do the offset math in the shader

This doesn't (or shouldn't) change the visual appearance of the fade
effect, but does do all the testing math inside the shader, rather
than on the CPU. This will make fading the offset much easier in
the future.

https://bugzilla.gnome.org/show_bug.cgi?id=689249

13 years agoscroll-view-fade: Use GLSL 1.20
Jasper St. Pierre [Wed, 28 Nov 2012 22:55:46 +0000 (17:55 -0500)]
scroll-view-fade: Use GLSL 1.20

GLSL 1.20 is a better language, and we'll rely on it in future updates.
This doesn't have any additional constraints, since GLSL 1.20 was
standardized before GLSL-supporting drivers came out.

https://bugzilla.gnome.org/show_bug.cgi?id=689249

13 years agoscroll-view-fade: Clean up GLSL
Jasper St. Pierre [Wed, 28 Nov 2012 21:51:37 +0000 (16:51 -0500)]
scroll-view-fade: Clean up GLSL

Basic cleanup of what we're doing already. This moves a bunch
of the "inside the fade area" checks to the top, before doing
any calculations.

https://bugzilla.gnome.org/show_bug.cgi?id=689249

13 years agoscroll-view-fade: Put the shader in another file
Jasper St. Pierre [Wed, 28 Nov 2012 21:07:25 +0000 (16:07 -0500)]
scroll-view-fade: Put the shader in another file

This doesn't make any changes to the shader outside of adding
a header; it simply makes changes in the future easier to edit.

https://bugzilla.gnome.org/show_bug.cgi?id=689249

13 years agoscroll-view-sizing: Enable vfade by default
Jasper St. Pierre [Wed, 28 Nov 2012 23:30:16 +0000 (18:30 -0500)]
scroll-view-sizing: Enable vfade by default

https://bugzilla.gnome.org/show_bug.cgi?id=689249

13 years agoscroll-view-sizing: Add a lot more boxes
Jasper St. Pierre [Wed, 28 Nov 2012 22:00:15 +0000 (17:00 -0500)]
scroll-view-sizing: Add a lot more boxes

https://bugzilla.gnome.org/show_bug.cgi?id=689249

13 years agooverview: Handle sessionMode.hasOverview changes
Florian Müllner [Thu, 29 Nov 2012 16:58:31 +0000 (17:58 +0100)]
overview: Handle sessionMode.hasOverview changes

Currently we assume that either the initial sessionMode will have
the overview or none of the pushed modes - starting without the
overview and pushing a mode that adds it fails spectacularly.
However this is exactly what we are going to do when loading external
modes asynchronously - we'll initially use the default mode while
the modes are loading, and switch to the mode passed on the command
line when finished. So make sure that the overview UI gets initialized
properly in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=689304

13 years agomain: Fix signal name
Florian Müllner [Thu, 29 Nov 2012 20:25:42 +0000 (21:25 +0100)]
main: Fix signal name

It's SessionMode::updated, not SessionMode::update ...

13 years agoviewSelector: Ignore key-presses during non-overview modals
Florian Müllner [Mon, 12 Nov 2012 17:41:14 +0000 (18:41 +0100)]
viewSelector: Ignore key-presses during non-overview modals

Since commit 0c807bddaf4d, the run dialog no longer handles Escape
key presses itself but uses the action key mechanism of modal dialogs.
As the latter uses key-release events, our own handling of the Escape
key runs on key-press.
Fix this by bailing out early if anything has pushed a modal in addition
to the overview (like system modals, looking glass, ...).

https://bugzilla.gnome.org/show_bug.cgi?id=688196

13 years agoTelepathy: ignore errors from ack_all_pending_messages()
Giovanni Campagna [Mon, 26 Nov 2012 21:30:20 +0000 (22:30 +0100)]
Telepathy: ignore errors from ack_all_pending_messages()

Invalid ID errors from that function are normal, because the set
of IDs to acknowledge may not match the set in the connection manager
due to race conditions.
This is also what empathy does.

https://bugzilla.gnome.org/show_bug.cgi?id=683449

13 years agoworkspacesViews: Update new padding rules for workspacesOnlyOnPrimary
Jasper St. Pierre [Tue, 27 Nov 2012 22:40:40 +0000 (17:40 -0500)]
workspacesViews: Update new padding rules for workspacesOnlyOnPrimary

Tim Lunn fixed this for the !workspacesOnlyOnPrimary case, but not the
other.

13 years agowanda: Update code to use Panel.Animation
Jasper St. Pierre [Tue, 27 Nov 2012 18:14:30 +0000 (13:14 -0500)]
wanda: Update code to use Panel.Animation

This simplifies our code tremendously.

13 years agopanel: Make Animation visible by default
Jasper St. Pierre [Tue, 27 Nov 2012 18:23:15 +0000 (13:23 -0500)]
panel: Make Animation visible by default

None of the other widget actors hide themselves by default;
that's a GTK+ thing.